package com.framework.shiro.token;

import org.apache.shiro.authc.UsernamePasswordToken;

public class CaptchaUsernamePasswordToken extends UsernamePasswordToken {
	/**
	 * <code>serialVersionUID</code> of comment
	 */
	private static final long serialVersionUID = 5686875119410964934L;
	// 验证码字符串
	private String captcha;

	public CaptchaUsernamePasswordToken(String username, char[] password, boolean rememberMe, String host,
			String captcha) {
		super(username, password, rememberMe, host);
		this.captcha = captcha;
	}

	public String getCaptcha() {
		return captcha;
	}

	public void setCaptcha(String captcha) {
		this.captcha = captcha;
	}

}
